﻿using System;
using LF.Shared.Dtos.Input;
using LF.Shared.Dtos.Out;

namespace LF.Application.Services
{
	public interface IAppinfoService : IApplicationService
	{
        /// <summary>
        /// 获取所有字典
        /// </summary>
        /// <returns></returns>
        Result<AppDicOut[]> GetDic();
        /// <summary>
        /// 获取分组字典
        /// </summary>
        /// <param name="group"></param>
        /// <returns></returns>
        Result<AppDicOut[]> GetDicGroup(string group);
        /// <summary>
        /// 配置
        /// </summary>
        /// <returns></returns>
        Result<RuleOut> ConfigRule(RuleInput input);
        /// <summary>
        /// 获取配置信息
        /// </summary>
        /// <returns></returns>
        Result<RuleOut> GetRule();
  
        /// <summary>
        /// 获取公告
        /// </summary>
        /// <param name="seach"></param>
        /// <returns></returns>
        Result<NoticeListOut> Notices(NoticeSearch seach);
    
        Result Notice(NoticeOut input);
        /// <summary>
        /// 获取公告
        /// </summary>
        /// <param name="seach"></param>
        /// <returns></returns>
        Result<NoticeListOut> WxNotices(NoticeWxSearch seach);
        
    }
}